package com.etc.entity;

import java.util.Date;

public class Travels {
    private Integer traid;

    private String tratitle;

    private String tracontent;

    private String trapicpath;

    private String traviopath;

    private Date tradate;

    private Integer userid;

    public Travels(String tratitle, String tracontent, String trapicpath, Date tradate, Integer userid) {
		super();
		this.tratitle = tratitle;
		this.tracontent = tracontent;
		this.trapicpath = trapicpath;
		this.tradate = tradate;
		this.userid = userid;
	}

	public Travels() {
		super();
	}

	@Override
	public String toString() {
		return "Travels [traid=" + traid + ", tratitle=" + tratitle + ", tracontent=" + tracontent + ", trapicpath="
				+ trapicpath + ", traviopath=" + traviopath + ", tradate=" + tradate + ", userid=" + userid + "]";
	}

	public Integer getTraid() {
        return traid;
    }

    public void setTraid(Integer traid) {
        this.traid = traid;
    }

    public String getTratitle() {
        return tratitle;
    }

    public void setTratitle(String tratitle) {
        this.tratitle = tratitle == null ? null : tratitle.trim();
    }

    public String getTracontent() {
        return tracontent;
    }

    public void setTracontent(String tracontent) {
        this.tracontent = tracontent == null ? null : tracontent.trim();
    }

    public String getTrapicpath() {
        return trapicpath;
    }

    public void setTrapicpath(String trapicpath) {
        this.trapicpath = trapicpath == null ? null : trapicpath.trim();
    }

    public String getTraviopath() {
        return traviopath;
    }

    public void setTraviopath(String traviopath) {
        this.traviopath = traviopath == null ? null : traviopath.trim();
    }

    public Date getTradate() {
        return tradate;
    }

    public void setTradate(Date tradate) {
        this.tradate = tradate;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }
}